package com.woniu.outlet.mysql.po;

import org.springframework.format.annotation.DateTimeFormat;

import java.math.BigDecimal;
import java.util.Date;

public class GoldMysql {
    private Integer id;

    private String type;

    private String typename;

    private BigDecimal price;

    private BigDecimal openingprice;

    private BigDecimal maxprice;

    private BigDecimal minprice;

    private BigDecimal changepercent;

    private BigDecimal lastclosingprice;

    private BigDecimal tradeamount;

    private Date updatetime;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }

    public String getTypename() {
        return typename;
    }

    public void setTypename(String typename) {
        this.typename = typename == null ? null : typename.trim();
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getOpeningprice() {
        return openingprice;
    }

    public void setOpeningprice(BigDecimal openingprice) {
        this.openingprice = openingprice;
    }

    public BigDecimal getMaxprice() {
        return maxprice;
    }

    public void setMaxprice(BigDecimal maxprice) {
        this.maxprice = maxprice;
    }

    public BigDecimal getMinprice() {
        return minprice;
    }

    public void setMinprice(BigDecimal minprice) {
        this.minprice = minprice;
    }

    public BigDecimal getChangepercent() {
        return changepercent;
    }

    public void setChangepercent(BigDecimal changepercent) {
        this.changepercent = changepercent;
    }

    public BigDecimal getLastclosingprice() {
        return lastclosingprice;
    }

    public void setLastclosingprice(BigDecimal lastclosingprice) {
        this.lastclosingprice = lastclosingprice;
    }

    public BigDecimal getTradeamount() {
        return tradeamount;
    }

    public void setTradeamount(BigDecimal tradeamount) {
        this.tradeamount = tradeamount;
    }

    public Date getUpdatetime() {
        return updatetime;
    }

    public void setUpdatetime(Date updatetime) {
        this.updatetime = updatetime;
    }
}